<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('推荐用户列表')" />
    <th:block th:include="include :: select2-css" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 search-collapse">
            <form id="data-form">
                <div class="select-list">
                    <ul>
                        <li>
                            店长名称: <input th:text="${member.username}" th:value="${member.id}" readonly="readonly" name="id" style="display: none"/>
                        </li>
                    </ul>
                </div>
            </form>
        </div>


        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: select2-js" />
<script th:inline="javascript">
    var editFlag = [[${@permission.hasPermi('system:dict:edit')}]];
    var removeFlag = [[${@permission.hasPermi('system:dict:remove')}]];
    var datas = [[${@dict.getType('sys_normal_disable')}]];
    var prefix = ctx + "system/member";

    $(function() {
        var options = {
            url: prefix + "/userlist/list",
            sortName: "created",
            sortOrder: "desc",
            modalName: "数据",
            columns: [{
                checkbox: true
            },
                {
                    field: 'username',
                    title: '用户名称'
                },
                {
                    field: 'mobile',
                    title: '电话号'
                },
                {
                    field: '头像',
                    title: 'headpic'
                }]
        };
        $.table.init(options);
    });

</script>
</body>
</html>